package com.ylz.sjzx.sio.room.entity;

import com.ylz.sjzx.sio.common.core.annotation.MessageField;
import com.ylz.sjzx.sio.common.core.enums.Role;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author wiqi
 * @version 1.0
 * @date 2020/12/10
 */
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class QuitUserResp implements Serializable {

    private static final long serialVersionUID = -7986513294743314077L;
    @MessageField
    private String realname;
    @MessageField
    private String userId;
    @MessageField
    private Role role;
    @MessageField
    private String roomName;
    @MessageField
    private String groupName;
    @MessageField
    private String deviceType;
    @MessageField
    private String socketId;
    @MessageField
    private String loginTime;

}
